package xyz.ddlnt.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ZZULI_SE 210910
 * @data 2025/5/24 10:23
 */
@Schema(description = "个人信息")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoDTO {

    @Schema(description = "用户 id")
    private Long id;

    @Schema(description = "头像")
    private String avatar;
    @Schema(description = "用户名")
    private String username;
    @Schema(description = "个人简介")
    private String personalIntroduction;

    @Schema(description = "旧密码（未加密）")
    private String olderPassword;
    @Schema(description = "新密码（未加密）")
    private String newPassword;
    @Schema(description = "联系方式（可选）")
    private String contact;

}
